/**
  ******************************************************************************
* @file				bsp_uart.h
* @Software			MDK V5
* @Target 			CW32F0300
* @author			ou_teki
* @encoding			UTF-8
* @date				2024-0420
  ******************************************************************************
  */
#ifndef		__SPI_ZD25_H__
#define		__SPI_ZD25_H__


#ifdef __cplusplus
extern "C" {
#endif

/* Files include */
#include "stdint.h"
#include "stdbool.h"
#include "stdlib.h"
#include "string.h"
#include "stdio.h"

#include "cw32f030_rcc.h"
#include "cw32f030_gpio.h"
#include "cw32f030_spi.h"

uint8_t ZD25_SPI_Init(void);
uint8_t ZD25_SPI_TransmitData(uint8_t* data, uint16_t size);
uint8_t ZD25_SPI_ReceiveData(uint8_t* data, uint16_t size);





#ifdef __cplusplus
}
#endif

#endif /* __SPI_ZD25_H__ */
/*lint -restore */
